package cn.kys.modules.system.service.mapper;

import cn.kys.common.base.BaseMapper;
import cn.kys.modules.system.domain.Role;
import cn.kys.modules.system.service.dto.RoleDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

/**功能描述：角色实体映射
 * @Auther:http://www.kys.cn
 * @Date:2020/3/28
 * @Description:cn.kys.modules.system.service.mapper
 * @version:1.0
 */
@Mapper(componentModel = "spring",uses = {MenuMapper.class, DeptMapper.class},unmappedTargetPolicy = ReportingPolicy.IGNORE)//未映射的目标属性被忽略
public interface RoleMapper extends BaseMapper<RoleDto, Role> {
}
